package com.zztpc.easybuy.factory;

import com.zztpc.easybuy.dao.IDAO;
import org.omg.CORBA.DATA_CONVERSION;

public class DaoFactoryImp implements IFactory {
    //饿汉式
    private  static DaoFactoryImp daoFactoryImp=new DaoFactoryImp();
    private  DaoFactoryImp(){}
    public static DaoFactoryImp getInstance(){
        return daoFactoryImp;
    }



    public IDAO createDAO(String type) throws Exception{

        return null;
    }
}
